<template>
  <div class="attendances">
    <h2>考勤</h2>
    <!-- <UploadImg :value="imgUrl" @input="inputEvent" /> -->
    <!-- 用于回显图片 -->
    <UploadImg v-model="imgUrl" />
    <br>
    <h3>局部混入：{{ num }}</h3>
    <el-button @click="sumNum">点击num++</el-button>
    <br>
    <h3>全局混入:{{ getNum }}</h3>
  </div>
</template>

<script>
import Xxx from '@/layout/mixin/xxx.js'
export default {
  mixins: [Xxx],
  data() {
    return {
      imgUrl: 'http://hr-1309565688.cos.ap-guangzhou.myqcloud.com/1644487624314'
    }
  },
  methods: {
    // inputEvent(res) {
    //   // console.log('res的数据', res)
    //   this.imgUrl = res
    // }
  }
}
</script>

<style></style>
